Bugfix for chrome