match type leakage