fix url formatting issue