Fixed some bugs DownloadFilesFromSource