dmatch
Small factorization fix.