remove old dead code