elegant user group model fix