issue #3956:Replace Object with Ref