fixing more syntax errors