Fix bug causing handler functions to not be called
update version