delete all the unused file and change some features