Correct a url