Fix the bugs in the trading fsm
Fix bugs in ppool_serv.erl