fixed swapf