fixed up some encoding issues