fixed non-ascii character and syntax errors