fix bug with url.