fixed weird encoding issues