small adjustment for Java8: same variable name on lambda