removed erroneous swaps