Fix of load_wallet