rebuild pagees