completed removing refs to $queue