Delete some not needed code.

deletion of code