fixed errors in blog-example-advanced

See issue #81.