chg cvparam to optional