now makes sure the url is correct before downloading source