fix edit digest