message about reaching max. number of iterations corrected