bugfix for chrome 36