debug the empty queue