fixes in image downloader