fix example code
Merge branch 'master' into gh-pages
fix examples