url: fix url.format logic