Chrome compatibility hotfix