eliminate dead code