fixed crash bug and gridsearch. Explorer stopped working