getCountry function name fix