Why is turbo tax using my gross income instead of AGI in qualifying for a retirement savings contribution credit?

How do I fix this?