rm unused code/variable