remove some dead code

remove some dead code