fix for osx corefoundation