removing invalid countries