small fix to false swipe