fix calculatePrize param