add error check when getting admin's country code