deliverPending fix