fix interval
update event process machine