add shim_undefined and shim_null