fixed enumIterator memory leak