fix lint: i++ -> i += 1