throw when there's more than one root node