wrong place for walletAgent