remove some unnecessary files and code