stupid extra pages not deleted causing errors