fix excessive linebreaks