Investors & landlords

Considering I am looking at a sizable gain already, by the time I sell I will be at a minimum 22% bracket.  Still a major win for the IRS.  Unless I am missing something, for my situation, it seems criminal.