delete unused code and clean project