Correct bug on countries loops