Fixing typos in events example