fix for swipe