minor foreach2 edits