Resolved a bug in BidGenerator