extractor with the encoding issue fixed