correct the bug in download file