Fixed downloader bugs