fix edit tree_category