Minor fix to parms handling