fix  some bug in download file and remove some files