another fix for Mac