refact tree menu