excise some dead code