even the method is deprecated, fixing it and calling setParameterDefaultValues