fixes newlines