remove group and pages