add path2url
prepare for resolve external $ref