Fixed Chrome compatibility issue