201 ta ruler right

fix #201 
this variable could be in the "for" loop scope