Edit syntax errors