fix for chrome
Merge pull request #516 from Tendrid/develop

fix for chrome