set_ev_handler instead of set_ev_cls