fix recognizer