Fix issues creating an order