fix: wrong attribute name ts->endTime