fixed typos in code examples