fixed a bunch of syntax errors