[fix] missing endfor