HSA Excess contribution - mistake

My employer made a mistake in my 2018 W2 i.e. they mentioned an excess contribution to my HSA account.. When I started the process of filing taxes on turbo tax I did not realize it but later got the W2 corrected. While I remember making corresponding changes in turbo tax it looks like my 2018 tax return has an excess contribution of about $3000 to my HSA mentioned in the 5329 (line 47).

 

This year it is asking me to pay $177 as tax for the excess contribution in 2018.

 

I am not sure how to rectify this. There was no excess contribution and I have statements from the HSA administering company to prove it and the corrected W2 for 2018.