mlr: redefinition of variable k in the same scope
