Removed unnecessary code

Only removed unnecessary code, it hasn't effect to working.