fix ref objects for ObjectMapEntry