remove some useless file and fix a bug