fix processImageDownload()