delete unnecessary code

delete unnecessary code