fix the images showing problem