fixes issue with hexdigest after cache.