digests encoding cleanup
correct req