rm csv in detrend_ser