Fixed bug where new nodes werent being created