fix shim error