fix in gesture recognizer