fixed newline being outputted to clipboard