correct newlines