fixes syntax error that occurs in some environments