fixed bug in iitc script