fixed typo in the example code