modify event type