best.dt error solved

"RMSE.ts.Avg not fund" solved. This change is a proposal of alternative
code from Jose. Thanks!