cut off an excess line