small fix for Mac