Fixes for createCoupon