fix end dates for calendars