OSX fixing