fixes syntax bug