Fixed issue with invalid url.