make buttons robust
Merge branch 'master' into gh-pages