implement EntityReferenceNode
fix accessor usage