fixed typo in example code