fixed CharacterExtractor