remove excess line breaks