pre onmatch speedup