BUG: fix the call to indexer