correct 2 formulae in _match_div_rewrite