Fixed bug in using DownloadControllerFactory.