fix extended characters