Fixing some issues
Merge branch 'master' into gh-pages