fix , fetal error, a getIconUrl() on a non-object

fix , fetal error, a getIconUrl() on a non-object