fix edit hostgroup