fixed a few syntax errors