corrections for OSX