fix subsets checking