correct line endings