Fixed the image bug