remove unsued lines