fix for macosx 10.9