removed unnecessary code

removed unnecessary code