second request sale of rental property

turbo tax is calculating the 4797 incorrect. sale price is 320,000, basis is 240,000, selling expenses are 16,981 and depreciation is 16,000. TTX calculates capital as 96,000, I think it should be 39,019. what say you?

Thanks