fixed newline issues