fixed a bug where creating a new group removed editor content of other groups