Fix the swipe loss error