kill some dead code