more error handling
Merge branch 'master' into gh-pages
publish