fix Trader.cs client code