osx fixes