bug fix in icon code