Correct endTime auto adjust