fix newline chars