corrects capitalisation in the url