Fix swipe error