cleaning up page data