fixed bug in web icon listener