remove error part in the ics