fix for line endings