Correct syntax errors