fixed new line character missing