Fixed bug due to switch from roundCode to nthRound