Fixes to Ledger