fixes to the Page and Group models