improvements to ical handling