bug fix related to coupon.