fix the bug of score thresholds