fix syntax error in example