fixed successhandler reference error