fix to relative jacobian