modify tiny error in IR2Tiny function