Updating the URL parser to prevent error