fix page in excess of total pages