fixed root node issue