withdrew money from 529 account not for educ expenses. got a 1099-Q form. when i enter the amounts in turbo tax, it adds the gross distribution to my income, not earning

from my understanding, only the earnings should be taxable. but turbo tax adds the full gross distribution to my income