refine hostsfilter