another i variable fix