fix ics calendar bug