minor corrections for the new queue_ding