How do I enter both Roth 401k (AA) and Roth 457(EE) from box 12 of w-2 if the sum is over $24500?

I contributed the maximum to my Roth 401k ($24,500) and Roth 457 ($24,500) plans.  The first time through I passed the error check.  Then I had to file an amended form.  When I conducted error check the second time, Turbotax flagged box 12b and 12c on the w-2 summary.  The error message says: Elective deferrals - TP $49000 is more than the allowed $24500 for a 401k plan.  I cannot clear the error.