bug 827083: fix for macos