fix on OSX (tests)