fixed proper nouns extractor