clear the unused code