fix 'for' loop initial declaration