key_commit: tweak to fix api grace setting