Fix/coupon orm change used definition