corrected matching