simplify matchtable