Fix error with startTime.