Fixed tree rename issue.