attempt to fix run on Mac OS X