fix Safari issues
Merge branch 'master' into gh-pages

* master:
  fix Safari issues