fix a couple of cores when injecting a url.