fix gradient osx