eliminated error in coupon resource