fix stoploss reset bug