more syntax errors fixes