fix more syntax errors