OSX fix