fixes syntax error in code sample