possible fix for save form removing selected groups