fix invalid url.