fix  bug while judge the country