fixed auto indexer