fix some more bugs (related to empty foreach arguments)
Merge branch 'fixg2_branch'