fix event process error