State tax filing

It has something to do with the question I pasted below. It auto fills my original refund amount of X and believe calculates as if I received the refund  so sets my refund to $0. If enter $0, it says I owe X. This is extremely frustrating. Here is the question that is affecting everything(I could only copy text):

 

Information From Your Original Return

 

The first thing we need to do is to verify some information from your original return.

 

Enter/Confirm the refund or tax you paid on your original return