Fixed typos in inline examples

Resolved #606