Fixed GC problem (arrays may be recorded as possible root of garbage cycle. we have to clear this info before deleting array)