bugfix in ics format