deliveryqueue rebuild add and get