WIP on singleRecord indexer and fix error on path