Minor fix in paramSetter

selector logic