fix edit role for tree