digest fixes