Cleaning up the pages