fix(wallet) fixed a few breaking bugs