fix removal of pages/pagetypes