delete some dead code