convert '/r' to '/n', since the newline character is '/n' instead of '/r/n/'