Correct minor syntax errors