key_commit: tweak to fix create indexes