fix r predictor dates_string bug