correct XSLT for non-empty hi and reduce png size