cleaning up obsolete pages