add validation for order params