delete files
fix some bugs