index fix on for loop, reverted to underscore