fix add extension file to pathurl