minor changes for syntax errors