EVENT_INDEX bug fixed.