set the correct headers for ics