Dev

fix some possible exceptions
optimize loading ical