key_commit: fix to docPrintPrep