make records/index and repositories/index more similar