attempted to fix some encoding issues