fixed checkBid bug