fixing the convergence test