osx bug fix