get rid of weird encoding stuff