workaround for chrome bug