some fixes; neasted pages; ancestors for pages