erase unused code