this will change the value of url to undefined, is that the intention?