event_create fix and index