fixed some syntactical errors