Solved undefined error that prevents selection of some countries