changes in page directory creation