cleanup ipset code