fixed bug for new group creation