fixing subset bug for higher levels