529 Distribution for Qualified Education Expenses

I took a 529 distribution for my daughter's qualified education expenses (tuition, room & board, etc.).  The distribution was paid directly to the university and none of it was used for anything but qualified education expenses. The qualified education expenses exceed the distribution amount but Turbo tax is saying my daughter needs to pay tax on a portion of the distribution.  Why would that be?  

 

Thank you