Digest image bug fix