fix qdigest serialization lock