trying to debug NP mismatches