fix to setting default root node