fixed bug in "for" template