fix jackpot calculation bug