fix parser error for traditional for