add validation when create order