fixed typo in example (closes #630)