bug fix, parentField has to be defined in NodeType