move line endings fix earlier