fix bug with new lotteries