fixinf syntax errors