[FIX]Fixed foreach enumerator languages is not defined.