fix Group-permissions not getting calculated