small changes in iteration of page folder