fix small significant error in i-array arithmetic