bug fix, getEventData