eliminated some dead code, base on callgraph data