fix newline issues