updated the image format problem