fix imageDownload()