Deductions & credits

I am having trouble with the TT program.  I am eligable to contribute $7,600 into my Family HSA for 2021.  It is a messier calculation since my wife stopped her reg. family insurance and started Medicare for Nov and Dec.  That means I was not family but single-payer for Nov. and Dec.  The TT calculation reports I can contribute 7,600 but at the end says I overpayed by $2,667.  Anyone have any ideas.