fixes URL path