Bug: ObjectReference is not replaced