fix some bugs
fix create file bug