deal with subset problem