fixed swap function