fix index argument to foreach and map
Version 0.0.12