Hysteresis issue fix