Problems with flush_digests