catch duplicate ledger_index