Before changing adjoint error method