Fix invalid urls.