bug fix in eventsmonitor