undamage page appropriately
corrected the subtree dirtying logic