fix errors on orderparameter