fixing crash when escaped double quotes enclose the url