fix coupon lookup and deletion