Fixing bug on creating new group