I have a 529 plan which paid all the tuition expenses for my kids, but TT looks at the distribution as taxable and also applies the AOTC. Is there a workaround?

How can I get TT to process this situation correctly?  Do I need to delete the 1099Q's completely, but won't that raise a red flag with the IRS.