Investors & landlords

doesn't seem right to get a deduction in 2017 on a property I sold in 2016.