fixed the prooblem of images