fixed fetching titles of webpages