Fixed error in downloader