refactor method getIcon to getIconURL
refactor method getIcon to getIconURL