Fixed bunch of syntax errors