fix auto end date for DoingTask