removal of excess line