After entering the data from ESPP Form 3299, TurboTax combines the Cost basis and compensation income to drive cost basis. This did not happen on 2021 version

ESPP form: Why does Premier adds the cost basis of ESPP to the compensation income to derive a total cost.  That is not what happened in Windows version of Premier in 2021.  I had a profit, not a loss. 
Example:
Sold 165 ESPP shares.  My purchase price was 6165.39 and my gain at purchase is 4290.66 which I am paying regular taxes on.  Premier adds the cost basis and the gain to derive a total cost of 10456.  That does not make sense. I bought it for 6165 and sold it for over 7K.  I have profit, not loss of 3K as Premier on Mac Calculates.  Not an issue on Windows Premier 2021 version