fix event modify issue