added bit of logic in drawresultutils and couponutils, some fixes