fixed slicing of map of parameters