idlate: improve event handling