correction for Mac OS X