fix bug with ingesting old data