fix hashdigest iterator