changes for OSX