Fix a bug in the Downloader