Fixed Chrome compatibility