fixed fake locks on macos