small getImage() fix