small modify on backtester