give the root node a unique id fixes #663