bug was the url passed in