remove dead code

remove dead code