bug fix (icon&tmplnk)