fixed some issue with the downloader