Fixed instance variable reference in Wallet class