renamed var in deleteGroup to g instead of u Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>