optimize menu
optimize tree
refactor menu
update tc