Status change from F1 to H1B visa

My visa status changed from F1 to H1B in october 2017.

My company has been taking out taxes from my paycheck except for medicare and social security taxes until september 2017, since F1 holders don't need to pay madicare and social security tax.

Now I tried filing my tax on turbotax, and it estimates that I owe money, not getting a refund. Which is weird, because my paycheck comes out with all the taxes withheld. I think it might be because social security and medicare tax I didn't pay until september 2017..? 

First, how do I know why it says I owe money, 

Second, how do I fix this?


Thank you!