resolving issue with relationships, pages main and pages sons