check for event dispatch