remove some open  file error
Change default parameters