another fix for digest