modify event handle