Fix event type.