fix bug in queue2summary