fixup the local shim to work again