endDate bugfix