minor fix for indexer.