renamed URL to PartialURL, and fixed bugs when dealing with empty
parameters