fix ^M issue, replace with \r
fix ^M issue, replace with \r