remove endfor