elim dead code