fixed urlparse error