fixed a few syntactical errors