add some logic in parser to be sure that 'add' is used only to add nodes in groups and defined ones