pages tree not loads at the first time