fix method swap2