fix utf encoding issues