clean up of unused pages and methods