Fixed exceptions in downloader