patch the break condition in _score_main()