fixed data loading, and specified a timeframe

Previously the cursor would be empty since the data was not yet available.