Added reset of the pages