DownloadManager: Fix code error