modify code that was still indexing events with the id.