Fix digest problem