fixing newline issues