Fixed error with Digest