improvements to make ical files valid