bugfix: country codes must be uppercase