encoding issues solved