correction the root handleling