fixed minor issues with crai index.