remove dead code. the can keep in 1.2 branch