Fix threshold