fix corrupted images. images are now downloaded