remove dead unused code