test compatibility fix for osx