fixed bad swap commit