country check bugfix