bugfix for chrome