updated reference "\r\n" to EOL