Remove unnecessary line breaks