Deductions & credits

When I enter the $250 ( 10a ) for teacher cost and  the $300 ( 10b) for cash charitable contributions for a total of $550 (10c), I get an error on the tax check.  I can make the error go away if I remove the $300. I don't know why .