Investors & landlords

I imported part of the data from Fidelity.  There are four entries for my RSU stock.  first line the gain/(loss) shows -122.88.  Matching the number shown in the calculation.  the third and fourth lines did the same thing.  Some how when I click on "edit" for the second entry, went through the exact process as the other three line return gain/(loss) value os 7.15, which is correct.  However, when I return to the screen where I can see all four entires, the second line item keep showing 323.10 gain.  It is not showing the matching number like the other three lines does.  Everything is exactly the same.  I don't understand why it thinks I gain 323.10