key_commit: fixed bug in batchCRUD