Add fixes to syntax errors