adjust the threshold to improve the correct rate