Fixed bug that changes countries global variable between calls.