add base url to paths