fixed gesture error