rm getIndex on collectionService