please try to use ".foreach" or "<space>foreach" consistently. I prefer the latter.