check if next_queue is None