Fixed the download file problem