fix a bug in Account.