remove unused code and resources
remove commented useless code