remove lots of newlines