fixes syntax error in example