fix check for add button
Merge branch 'master' into gh-pages