resman: use set<> instead of vector<>