resolve the image issue