fix edit tree_product