Fixed issue of adding new newline