fixed jac custom formula