Remove unnecessary linebreaks