fix bug when adding to digest