shim for object assign, globally inserted