Minor fix : hysteresis fix