rename the binary tree for text