Corrected line feed characters to LF from CRLF
Corrected some fault according to reviews.