Fix new line characters issue.