Fix wrong indexer