fix wallet storing name records