patched OIS mac backend