Revert "add hide_children_in_tree param"

This reverts commit 2d9287d58b3ea0a2f89e007324a9a4cae27f53e3.