Fix threshold commads