Fixing newline issues