indexer -bug fix