ensure to load compound when determening compound indices in dataset