added more logic to get rid of names from possible domains set