syntax errors correction