hacks for empty wallet.