more syntax error fixes