fix startDate == null