Extension refund,steps ?

I filed for and received an extension, I paid my estimate of 7000,in April,,,now I did my return and it is 5000 ,,I thought turbo tax would remember that part but it is showing that I owe 5000, but I should be getting a refund??? any ideas???