fix download_images