fix empty forloop case
1.0.7