Fix bug - not adding new node to list of nodes