fix order creation when coupon is applied