This is not correct in general. I think you only want the URL here.