hostgroup resource, prefix cleanup