fixed typos
fixed types
Merge branch 'master' into gh-pages