Fix timeseries

Fix #38