fixed the solver mode