fixed issue in getting the event name