[bug] fixes syntax errors