correcting ledger discrepancies