make a valid url