key_commit: tweak to the import routine