fixed shift logic
Merge remote-tracking branch 'origin/gh-pages' into gh-pages