fixed nil occurance in time series