add check for empty proxied object