fixing empty ledger select bug