remove the unused code