Final K1 Calculated Partnership Basis Same As Distributions/Selling Price

When I crunch the numbers using the methods presented in previous forum posts, I get a capital gain of -0-;.  Cost basis same as Final distributions/liquidation price resulting in capital gains of zero.  But this can't be right because this should show significant gains.  The original investment amount was $25k.  I need help understanding what I'm doing wrong.  Thanks in advance.
 
Final K1 box checked
Part II
Box L  
Beginning capital account -282
Current year net income    34,389
Withdrawals and Dist        34,107
Ending Capital Account    0
 
Part III
line 2         2,850  Net rental real estate income
line 9C       5,978  Unrecaptured section 1250 gain
line 10      31,789  Net section 1231 gain
line 18W        250 Other deductions (DEBT FINANCED DISTRIBUTION INT)
line 19A    34,107  Distributions
line 20N      1,302  BUSINESS INT EXPENSE INCL IN RENTAL REAL ESTATE INCOME
 
The final partnership cost basis = -282 + 2,850 + 31,789 -250 = 34107
But box 19A distributions which should be the sale price is also 34107
subtracting there is a net capital gain of -0-