Fix more typos and syntax errors