fixed the image not showing issue