Delete some dead code

delete some dead code