fix for url extraction