fix the line endings