fixed the problem of gridsearch parms not being a list