urlParts bug fixed