mysterious match debugging