remove unnecessary code

remove unnecessary code