fix bug for group renaming