fixing issues with grabbing titles where url redirects to non-ascii url