fixed a bug about CRLF