How to enter 1099-SA correctly in TurboTax?

I had an excess HSA contribution in year 2021. We withdrew that amount in year 2022. So, we received a 1099-SA form with a distribution code "2". Unfortunately, TurboTax still believes I don't have taxable distributions in the 8889 form. Therefore, I continue to have excess HSA contributions in the 5329 form. What should I do?