fix the swipe