fix code user can create groups