removing extra line endings from the summary