fix buttonhandler reference error