Fix typos in example code