Added InsertCorrection to hysteresis