Fixes syntax issues