key_commit: added two more indexes