fix more encoding errors