properly call usrlib.parse instead of urlparse