reset the pages