fix some minor bugs
Package time series data for activity.