remove some extra line breaks