remove no needed code