Bug fixing: wrong seed in cross validation and erasing unnecessary variables