fix for loop in parseParent.getPage