fix syntax errors for clarity