remplace endfor by endif