fix the filtered ids and ignore ts_rates