demo matching bug