fix syntactical errors