Fix bug in create user group