Fixed addNode (again)