fix event type