Fix errors when unknown node reached