fixed a couple of syntax errors