fixed unset endtime