Sale of Rental. paid 75k sold for 65k. Depreciation 22k and have an accumulated loss of 24k. TT tells me I made 12k and owe taxes?

I have used TT to do my taxes for my rental. paid 75k sold for 65k. Depreciated over the years 22k have an accumulated loss of 24k. A bad investment all round. I have not made a cent profit on this rental. TT tells me I made 12k and owe taxes? Please help.