fix event handle