revert the removal of the logic concerning the first page