put correct end date in