handle the event message