fix error params