do not use global removed global var $tagtree