revert pages changes