fix ledger balance