reordering the delete ops to prevent policy mixup