cleanup the existing pages