Why isn't turbo tax using all of my qualified educational deductions -$4000 used for the American Opportunity Credit before determining the taxable amount of my 1099Q?

For College Expenses, we list- 

Tuition 4,054, 

Books and Materials 1,853, 

Room and Board 3,741 

scholarships at 333.    

So the total minus the 333 scholarship should be $9,315.  $4000 was used for the American Opportunity Credit.  There should be $5315 left to use as qualifying payments for our 1099-Q (or 529-plan).  The 1099-Q is in the amount of $4095, leaving nothing taxable.  Turbo tax is only moving over the room and board amount of $3741 to the 1099-Q worksheet leaving my son with a taxable amount of $165.  Why doesn't the full $5315 auto fill into the worksheet leaving a taxable amount of $0?  Can I manually change this or is turbo tax correct in only allowing the $3741?