change the queue type from Sharedpointer<Squeue<Url> > to Sharedpointer<Squeue<Sharedpointer<Url> > >