detect new nodes and add some debug