Deductions & credits

I am still having issues with this 2016 casualty of my house burning down.  i rebuilt the home.  turbotax has me completing a form irs section 1033 and it shows realized gain but still showing a gain on my 1040.  can you please help.