fix coupon bug