Fix loop in CallInst