fixed multi grid functionality for more then one parameter