Fix some errors in code succes -> successHandler etc.