fix swipe bug 2