fix ledger entries