Correcting warning with jacobian