add indexer for location in events