fix trade.bid_id bug