fixed errors
Merge branch 'master' into gh-pages