Change groups.level to groups.scope