fix error of image files