added checks to time_series io