Fixed issue with icsfile