bug fix for countries with spaces