problems with patch, line endings