try and correct line breaks