bugfix in cross validation, part 2