Fixes invalid url.