object_proxy: fix exception