fixing a purl so it uses the start of the url for the pathname