fixed problem with icon image being nil