bugfix : don't over-release the list of nodes