fix urlpath