fix bug "NewEvent"