support event handler with id