fix coupon validation