optimize away find_levent_handlers and fix something weird