fix bug with win pattern icon code in erb