fixing controls_for & forEach. Fixing variables_global